require 'rspec-spy'

RSpec.configure do |config|
  config.treat_symbols_as_metadata_keys_with_true_values = true
  config.run_all_when_everything_filtered = true
  config.filter_run :focus

  config.before(:each, :spy => true) do |example|
    RSpec::Spy(example)
  end
end
